<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich">
	 <h:form style="width:50%; margin:auto; text-align:left;"> 

        <rich:toolbar>

            <rich:dropDownMenu >
                <f:facet name="label"> 
                    <h:panelGroup>
                        <h:graphicImage value="/images/icons/copy.gif" styleClass="pic"/>
                        <h:outputText value="Layer"/>
                    </h:panelGroup>
                </f:facet>
                <rich:menuItem action="#{MenuBean.listarLayer}" ><h:outputText value="Listar"/></rich:menuItem>
                <rich:menuItem action="#{MenuBean.inserirLayer}"><h:outputText value="Inserir"/></rich:menuItem>
              
            </rich:dropDownMenu>

            <rich:dropDownMenu>
                <f:facet name="label">
                    <h:panelGrid>
                        <h:outputText value="HotSpots" />
                    </h:panelGrid>
                </f:facet>
               <rich:menuItem action="#{MenuBean.listarHotSpot}" ><h:outputText value="Listar"/></rich:menuItem>
               <rich:menuItem action="#{MenuBean.inserirHotSpot}"><h:outputText value="Inserir"/></rich:menuItem>
            </rich:dropDownMenu>
        </rich:toolbar>
    </h:form>
</ui:composition>